#ifndef __POWER_H
#define __POWER_H

#include "bsp.h"
#include "Driver_powerContol.h"

#define openCap (remoteControlData.dt7Value.keyBoard.bit.SHIFT)

typedef enum{
	linkCap = 0,
	linkCha,
}linkWay_e;

typedef struct{
  linkWay_e SwitchPolicy;
	float capVol;
}powerstruct_t;	
	
extern powerstruct_t powerData;

void sendPowerDataInit(void);
void powerDataUpdata(void);
void linkAimUpdata(void);
void powerDataReceive(u8 *array);
void powerDataTransportTask(void *Parameters);

#endif
